package com.ysx.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author yyj
 * @date 2019/5/19
 */
@FeignClient("ysx-nacos-provider")
public interface DemoFeignService {

    @GetMapping("name")
    String test(@RequestParam(name = "name") String name);
}
